
#ifndef   __APP_DEFINITIONS__
#define   __APP_DEFINITIONS__

/* Status of App */
#define   AR_SUCCSESS			0x5555
#define   AR_FAIL					0xAAAA
#define   AR_PLAY_MENU			0x1001
#define   AR_DONE					0x1002

enum
{
	ASTA_SLEEP = 1,
	ASTA_ACTIVE,
	ASTA_FREE,
	
	ASTE_RESET,
	ASTE_START,
	ASTE_FINISH,
	ASTE_FAIL,
	ASTE_RESULT,
	ASTE_TIMEOUT,
	ASTE_SEND_COMMAND,
	ASTE_SEND_TO_MODEM,
	ASTE_CHECK_MODEM_ANSWER,	
	ASTE_CHECK_REGISTRATION,
	ASTE_CHECK_FOR_COMMAND,
	ASTE_FIND_COMMAND,
	ASTE_WAIT_FOR_RESULT,
	ASTE_IDLE,
	ASTE_BYE_BYE,
	ASTE_ENTER_PASSWORD,
	ASTE_CALL_MENU,
	ASTE_PLAY_MSG,
	ASTE_MENU,
	ASTE_WAIT_FOR_EOM,
	ASTE_WAIT_FOR_DIGIT,
	ASTE_WAIT_FOR_ENTER,
	ASTE_AUDIO_RECORD,
	ASTE_END_OF_AUDIO_RECORD,
	ASTE_MODEM_RESTART
};

void app ( void );


#endif
